package com.cljz.makepassenger.model.net.bean;

import java.io.Serializable;
import java.util.ArrayList;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/5/14.
 */

public class NoticeListBean implements IModel,Serializable{


    /**
     * error_code : 0
     * msg : 成功
     * data : [{"msg":"活动提醒您在12:15的活动快要开始啦","is_read":"0","notice_type":"10","add_time":"11:47","extra":{"type":"invite_coming","data":{"invite_id":"12","is_activity":"0","is_invite":"0"},"extra":" 打篮球"}}]
     */

    private String error_code;
    private String msg;
    private ArrayList<DataBeanX> data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ArrayList<DataBeanX> getData() {
        return data;
    }

    public void setData(ArrayList<DataBeanX> data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBeanX implements Serializable{
        /**
         * msg : 活动提醒您在12:15的活动快要开始啦
         * is_read : 0
         * notice_type : 10
         * add_time : 11:47
         * extra : {"type":"invite_coming","data":{"invite_id":"12","is_activity":"0","is_invite":"0"},"extra":" 打篮球"}
         */
        private String id;
        private String msg;
        private String is_read;
        private String notice_type;
        private String add_time;
        private ExtraBean extra;


        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }



        private boolean hasSelected = false;


        public boolean isHasSelected() {
            return hasSelected;
        }

        public void setHasSelected(boolean hasSelected) {
            this.hasSelected = hasSelected;
        }


        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public String getNotice_type() {
            return notice_type;
        }

        public void setNotice_type(String notice_type) {
            this.notice_type = notice_type;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public static class ExtraBean implements Serializable{
            /**
             * type : invite_coming
             * data : {"invite_id":"12","is_activity":"0","is_invite":"0"}
             * extra :  打篮球
             */

            private String type;
            private DataBean data;
            private String extra;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public DataBean getData() {
                return data;
            }

            public void setData(DataBean data) {
                this.data = data;
            }

            public String getExtra() {
                return extra;
            }

            public void setExtra(String extra) {
                this.extra = extra;
            }

            public static class DataBean implements Serializable{
                /**
                 * invite_id : 12
                 * is_activity : 0
                 * is_invite : 0
                 */

                private String invite_id;
                private String is_activity;
                private String is_invite;

                public String getInvite_id() {
                    return invite_id;
                }

                public void setInvite_id(String invite_id) {
                    this.invite_id = invite_id;
                }

                public String getIs_activity() {
                    return is_activity;
                }

                public void setIs_activity(String is_activity) {
                    this.is_activity = is_activity;
                }

                public String getIs_invite() {
                    return is_invite;
                }

                public void setIs_invite(String is_invite) {
                    this.is_invite = is_invite;
                }
            }
        }
    }
}
